|
Расположение в меню |
---|
Arch → Axis |
Верстаки |
Arch |
Быстрые клавиши |
A X |
Представлено в версии |
- |
См. также |
Axis System, Arch Grid |
Инструмент Arch Axis позволяет разместить набор осей в текущем документе. Расстояние и угол между осями настраиваются, так же как и стиль нумерации. Главным образом Оси служат как объекты привязки, но так же могут использоваться совместно с инструментом
Arch AxesSystems и могут ссылаться на другие объекты Архитектуры для создания параметрических массивов, например балок или столбов. Вместо осей могут так же использоваться
Arch Grids.
Два разных объекта осей расположены перпендикулярно друг другу для создания сетки
By setting the Bubble Position property to Arrow left/right or Bar left/right, the axis will display a filled arrow or bar instead of the bubble, so it can be used as a section mark. introduced in version 0.20
См. так же: Arch API и Основы скриптов FreeCAD
The Axis tool can be used in macros and from the Python console by using the following function:
Axes = makeAxis(num=5, size=1000, name="Axes")
Axes
object from the given number (num
) of axes, and size
, the interval between each axis.Пример:
import Draft, Arch
Axes = Arch.makeAxis(5, 1000)
Axes.ViewObject.LineWidth = 3
Axes.ViewObject.BubbleSize = 200
Axes.ViewObject.FontSize = 150
Axes2 = Arch.makeAxis(6, 500)
Axes2.ViewObject.LineWidth = 2
Axes2.ViewObject.BubbleSize = 200
Axes2.ViewObject.FontSize = 150
Axes2.ViewObject.NumberingStyle = "A,B,C"
FreeCAD.ActiveDocument.recompute()
Axes2.Length = 6000
Draft.rotate(Axes2, -90)
Draft.move(Axes2, FreeCAD.Vector(-1000, 2500, 0))
FreeCAD.ActiveDocument.recompute()